#include<iostream>
#include<cstdlib>
using namespace std;
typedef struct LinkNode
{
	int data;
	struct LinkNode* next;
}Node;
void Init_Link(Node** head)
{
	(*head) = new Node;
	(*head)->data = 0;
	(*head)->next = NULL;
}
void Tail_Insert_Link(Node** head, int arr[], int sz)
{
	Node* tail = (*head);
	for (int i = 0; i < sz; i++) {
		Node* p = new Node;
		p->data = arr[i];
		p->next = NULL;
		tail->next = p;
		tail = p;
	}
}
void Delete_Link(Node** head, int key)
{
	
}
int main()
{
	Node* head;
	Init_Link(&head);
	int arr[] = { 1,2,3,5,6,7,9,21 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	Tail_Insert_Link(&head, arr, sz);
	int key = 5;
	Delete_Link(&head, key);
	return 0;
}